<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<body>
<div class="container text-center">
    <form role="form" action="/index/SelectInvitation" method="get">
        <table class="table">
            帖子标题：
            <input type="text" class="form-group" name="title">&nbsp;
            <input type="submit" class="btn btn-danger" value="搜索">
            <thead>
            <tr>
                <th>商品名称</th>
                <th>价格</th>
                <th>数量</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
                <tr>
                    <td>${b.title}</td>
                    <td>${b.summary}</td>
                    <td>${b.author}</td>
                    <td><a href="/reply/SelectReply?invid=${b.id}">查看回复</a>||<a href="/index/DeleteInvitation?id=${b.id}&invid=${b.id}">添加</a></td>
                </tr>
            </tbody>
        </table>
        <div class="text-center">
            <ul class="pagination">
                <c:if test="${pageInfo.hasPreviousPage}">
                    <li><a href="/index/SelectInvitation?pageIndex=${pageInfo.prePage}">&laquo;</a></li>
                </c:if>
                <c:forEach items="${pageInfo.navigatepageNums}" var="i">
                    <li class="${pageInfo.pageNum==i?'active':''}"><a href="/index/SelectInvitation?pageIndex=${i}">${i}</a>
                    </li>
                </c:forEach>
                <c:if test="${pageInfo.hasNextPage}">
                    <li><a href="/index/SelectInvitation?pageIndex=${pageInfo.nextPage}">&raquo;</a></li>
                </c:if>
            </ul>
        </div>
        <h3>${CHG}</h3>
    </form>
</div>
</body>
</body>
</html>